package com.levelup.cr.model.dto;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: denis_zavadsky
 * Date: 9/24/13
 * Time: 8:18 PM
 * To change this template use File | Settings | File Templates.
 */
public class NodeTransfer implements Serializable{
    private NodeTransfer parent;
    private String name;
    private List<NodeTransfer> childs;
    private HashMap<String, Object> properties = new HashMap<String, Object>();
    private boolean isRoot = false;


    public NodeTransfer getParent() {
        return parent;
    }

    public void setParent(NodeTransfer parent) {
        this.parent = parent;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<NodeTransfer> getChilds() {
        return childs;
    }

    public void setChilds(List<NodeTransfer> childs) {
        this.childs = childs;
    }

    public HashMap<String, Object> getProperties() {
        return properties;
    }

    public void setProperties(HashMap<String, Object> properties) {
        this.properties = properties;
    }

    public boolean isRoot() {
        return isRoot;
    }

    public void setRoot(boolean root) {
        isRoot = root;
    }
}
